﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Text;

namespace XZTZ.UMP.Public.Models.Flow
{
    [Table("Flow_Template")]
    public class Template
    {
        [Key]
        public Guid  guidFlowID { get; set; }//流程ID
        public Guid  guiVisonID { get; set; }
        public string strBusinessTypeID { get; set; }
        [Required(ErrorMessage = "模板名称不能为空")]
        [Display(Name = "模板名称")]
        public string strFlowName { get; set; }
        [DatabaseGenerated(DatabaseGeneratedOption.Identity)]
        [NotMapped]//只读
        public int intIndexNo { get; set; }
        [Display(Name ="是否禁用")]
        public bool blnTaboolFlag { get; set; }


    }
}
